import request from '@/utils/request'

// 查询历史数据查询列表
export function listLssjcx(query) {
  return request({
    url: '/lynhgl/lssjcx/list',
    method: 'get',
    params: query
  })
}

// 查询历史数据查询详细
export function getLssjcx(id) {
  return request({
    url: '/lynhgl/lssjcx/' + id,
    method: 'get'
  })
}

// 新增历史数据查询
export function addLssjcx(data) {
  return request({
    url: '/lynhgl/lssjcx',
    method: 'post',
    data: data
  })
}

// 修改历史数据查询
export function updateLssjcx(data) {
  return request({
    url: '/lynhgl/lssjcx',
    method: 'put',
    data: data
  })
}

// 删除历史数据查询
export function delLssjcx(id) {
  return request({
    url: '/lynhgl/lssjcx/' + id,
    method: 'delete'
  })
}
